package ai.zixing.proxy.example04;

public class Test04 {
    public static void main(String[] args) {
        Calculator proxy = CalculatorProxy.getProxy(new MyCalculator());
        int result = proxy.add(1, 1);
        System.out.println(result);
        System.out.println(proxy.getClass());
    }
}
